import com.woniu.houtai.utils.FileUtils;

import java.io.File;

public class testFileUtils {
    public static void main(String[] args) {

        String file = "D:\\HangzhouJava\\newtext0225.txt";
        String ip = "192.168.201.161"; //目标ip
        String fileName = "1.txt" ;  // 文件名
        String filePath = "//"+ip+"/imgs/"+ fileName;

        String path = "http://192.168.201.161/imgs/1.txt";
//        FileUtils.copy(file,filePath);
    }
}
